/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.restaurant.facade;

import com.restaurant.entities.Orders;
import com.restaurant.entities.ProductTypes;
import com.restaurant.entities.Products;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Dexter
 */
@Local
public interface ProductsFacadeLocal {

    void create(Products products);

    void edit(Products products);

    void remove(Products products);

    Products find(Object id);

    List<Products> findAll();

    List<Products> findRange(int[] range);

    int count();

    public List<Products> getProducts(ProductTypes selected);

    public List getOrderProducts(Orders selected);

}
